<template>
	<view>
		{{count}}
		
		<view @click="update">update</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		computed:{
			count(){
			return this.$store.state.count;
			}
		},
		methods: {
			update(){
				this.$store.commit("update",10000)
			}
		}
	}
</script>

<style>

</style>
